package com.fick.hibernate.dao;

import org.hibernate.Query;
import java.util.List;

public class UsererDAO extends BaseHibernateDAO {

	public List findAll() {
		try {
			Query query = getSession().createQuery("from Userer");
			List li = query.list();
			return li;
		} catch (RuntimeException e) {
			e.printStackTrace();
			return null;
		} finally {
			closeSession();
		}

	}

}
